package com.learning.security.service;

import com.learning.security.controller.vo.UserSaveReqVO;
import com.learning.security.dal.dataobject.AdminUserDO;

public interface AdminUserService {
    Long createUser(UserSaveReqVO userSaveReqVO);

    AdminUserDO getUserByUsername(String username);

    boolean isPasswordMatch(String rawPassword, String encodedPassword);

    AdminUserDO getUser(Long userId);

    boolean assignRole(Long userId, Long roleId);
}
